<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .login {
        width: 600px;
        height: 500px;
        background-color: #f5f5f5;
        margin: 0 auto;
      }
    </style>
  </head>
  <body>
    <div id="app">
      <div class="login">
        <el-input
          placeholder="请输入手机号"
          prefix-icon="el-icon-user"
          v-model="username"
        ></el-input>
        <el-input
          placeholder="请输入密码"
          prefix-icon="el-icon-lock"
          show-password
          v-model="passeord"
        ></el-input>
        <el-row>
          <el-col :span="16">
            <el-input placeholder="请输入验证码" v-model="key"></el-input>
          </el-col>
          <el-col :span="8">
            <img src="./code.jpg" alt="" />
          </el-col>
        </el-row>
        <el-checkbox v-model="isPass"
          >我已阅读并同意<el-link type="primary">用户协议</el-link>和<el-link
            type="primary"
            >隐私条款</el-link
          ></el-checkbox
        >
        <el-button type="primary">登陆</el-button>
        <el-button type="primary">注册</el-button>
      </div>
    </div>
    <script src="./vue.js"></script>
    <!-- 引入样式 -->
    <link
      rel="stylesheet"
      href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"
    />
    <!-- 引入组件库 -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
    <script>
      new Vue({
        el: "#app",
        data: {
          username: "",
          passeord: "",
          key: "",
          isPass: false,
        },
      });
    </script>
  </body>
</html>
